// RUN_PIPELINE_TILL: FRONTEND
sealed class Base

class Derived: Base() {
    class Derived2: Base()
}

fun test() {
    class Local: <!SEALED_SUPERTYPE!>Base<!>()
}

/* GENERATED_FIR_TAGS: classDeclaration, functionDeclaration, localClass, nestedClass, sealed */
